<?php get_header(); ?>

<div id="main_cont">

	<?php $dir = get_bloginfo('stylesheet_directory'); ?>

    <div id="pic_wrapper">
    
    		<div id="pic">
    
   		 	<img alt="fireplace" id="img1" src="<?php echo($dir); ?>/images/fireplace.jpg" />
    
    		</div>
    
   	</div>
        
    <div id="script" class="lucida">
    
    Lorem ipsum dolor sit amet, consectetur adipiscing elit. In auctor eleifend felis sit amet sagittis. Lorem ipsum dolor sit amet, consectetur adipiscing elit. In auctor eleifend felis sit amet sagittis. Lorem ipsum dolor sit amet, consectetur adipiscing elit. In auctor eleifend felis sit amet sagittis.
    
    </div>
    
    <div id="column_left">
    
        <!--START OF PROFILE-->
                
        <div id="profile" class="headers">
        
            <div class="sideText">Who We Are</div>
            
            <div id="profileHeader" class="contentHeader">
            
                <img alt="John Schofield" src="<?php echo($dir); ?>/images/owner.png" />
                
            </div>  
            
            <div id="profilePic">
            
                <img alt="John Schofield Picture" src="<?php echo($dir); ?>/images/John-Schofield.jpg" />
                
            </div>  
                                
            <div class="clear"></div>
            
            <!--START OF textProfile-->
                
            <div id="profileText" class="lucida">
                
                <p>John Schofield, owner of Soot Seekers Chimney Service, has over 20 years of experience in the chimney service business. To provide you the best service possible, John attends annual conferences and seminars to stay up-to-date on the latest technologies and techniques.</p>
        
            </div>
            
            <!--END OF textProfile-->
            
        </div>
        
        <!--END OF PROFILE-->
        
        <div id="twitter_feed">
            
            <script src="http://widgets.twimg.com/j/2/widget.js"></script>
            <script>
            new TWTR.Widget({
              version: 2,
              type: 'profile',
              rpp: 4,
              interval: 30000,
              width: 240,
              height: 300,
              theme: {
                shell: {
                  background: '#111',
                  color: '#ffffff'
                },
                tweets: {
                  background: '#111',
                  color: '#aaaaaa',
                  links: '#ffbb00'
                }
              },
              features: {
                scrollbar: false,
                loop: false,
                live: false,
                hashtags: true,
                timestamp: true,
                avatars: false,
                behavior: 'all'
              }
            }).render().setUser('finpup').start();
            </script>
        
        </div>
    
    </div>    
    
    <div id="post_wrapper">
    
        <div id="lastest_portfolio_post" class="latest">
        
        	<div class="color_block"><span class="yo">Latest Portfolio Post</span></div>
        
            <?php $posts = new WP_Query('category_name=portfolio&posts_per_page=1'); ?>
            
            <?php if ( $posts->have_posts() ): while ( $posts->have_posts() ): $posts->the_post(); ?>
                <h3><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h3>
                <?php 
                    if ( has_post_thumbnail() ) { ?>
                      <a href="<?php the_permalink(); ?>"><?php the_post_thumbnail('medium'); ?></a>
                   <?php } 
                ?>
                <?php the_excerpt(); ?>
                <!--<a href="<?php //echo get_permalink(); ?>"> Read More...</a>-->
            <?php endwhile; endif; ?>
            
            <?php wp_reset_postdata(); ?>
        
        </div>
        
        <div id="latest_blog_post" class="latest">
        
        	<div class="color_block"><span class="yo">Latest Blog Post</span></div>
        
            <?php $posts = new WP_Query('category_name=blog&posts_per_page=1'); ?>
            
            <?php if ( $posts->have_posts() ): while ( $posts->have_posts() ): $posts->the_post(); ?>
                <h3><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h3>
                <?php 
                    if ( has_post_thumbnail() ) { ?>
                      <a href="<?php the_permalink(); ?>"><?php the_post_thumbnail('medium'); ?></a>
                <?php
                    } 
                ?>
                <?php the_excerpt(); ?>
                
            <?php endwhile; endif; ?>
            
            <?php wp_reset_postdata(); ?>
        
        </div>
    
	</div>

</div>

<?php get_footer(); ?>    